package model

type NoteEntityRelation struct {
	ID               uint64 `json:"id" gorm:"column:id"`
	NoteID           uint64 `json:"note_id" gorm:"column:note_id"`
	RelationType     string `json:"relation_type" gorm:"column:relation_type"`
	RelateModuleCode string `json:"relate_module_code" gorm:"column:relate_module_code"`
	ProjectID        uint64 `json:"project_id" gorm:"column:project_id"`
	EpisodeCode      string `json:"episode_code" gorm:"column:episode_code"`
	EntityID         uint64 `json:"entity_id" gorm:"column:entity_id"`
	TaskID           uint64 `json:"task_id" gorm:"column:task_id"`
	VersionID        uint64 `json:"version_id" gorm:"column:version_id"`
	Created          uint64 `json:"created" gorm:"column:created"`
	CreatedBy        uint64 `json:"created_by" gorm:"column:created_by"`
	StepCategoryID   uint64 `json:"step_category_id" gorm:"column:step_category_id"`
	StepID           uint64 `json:"step_id" gorm:"column:step_id"`
	ReviewFeedbackID uint64 `json:"review_feedback_id" gorm:"column:review_feedback_id"`
}

// 设置表名
func (NoteEntityRelation) TableName() string {
	return "note_entity_relation"
}
